package com.campus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.domain.po.Class;

import java.util.List;

public interface ClassService extends IService<Class> {
    Class createClass(Class classObj);
    Class updateClass(Class classObj);
    boolean addStudentsToClass(Integer classId, List<Integer> studentIds);
    boolean assignTeachersToClass(Integer classId, List<Integer> teacherIds);
    Class getClassById(Integer id);
    List<Class> getClassesByActivityId(Integer activityId);


}
